package com.sl.water.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * @description:物资表实体类
 * @author: duan
 * @time: 2025-06-30 13:57
 */
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName("plan_e_wz")
@Builder
public class PlanEWz extends Model<PlanEWz> {

    @Schema(description = "ID")
    @TableId(type = IdType.AUTO)
    private Long id;

    @Schema(description = "物资名称")
    private String wzmc;

    @Schema(description = "单位")
    private String unit;

    @Schema(description = "物资数量")
    private Integer num;

    @Schema(description = "物资库")
    private String wzk;
}
